<!-- BEGIN delete alert modal -->
<form id="deleteForm" action="/${customer.domain}/_delete" method="post" class="hide">
    <input type="hidden" name="id" value="${node.id}" />
    <input type="hidden" name="root_id" value="${root.id}" />
</form>
<div id="deleteAlertModal" class="modal hide fade">
    <div class="modal-header">
        <a class="close" data-dismiss="modal" >&times;</a>
        <h3>Confirm Delete?</h3>
    </div>
    <div class="modal-body">
        <h4>Are you sure you want to delete this page?</h4>
        <p>Once the page is deleted, its content and its child pages are also deleted, and cannot be reverted any more.</p>
        <p>To confirm deletion, click the "Delete" button, otherwise, click the "Cancel" button to cancel this deletion.</p>
    </div>
    <div class="modal-footer">
        <a href="#" class="btn" data-dismiss="modal">Cancel</a>
        <a href="javascript:$('#deleteForm').submit()" class="btn btn-danger">Delete</a>
    </div>
</div>
<!-- END delete alert modal -->

<div class="btn-toolbar">
    <div class="btn-group pull-right">
        <button class="btn dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
        <ul class="dropdown-menu">
            <li><a href="/${customer.domain}/add/${root.id}/${node.id}"><i class="icon-plus-sign"></i> New Page...</a></li>
            <li class="divider"></li>
            <li><a href="/${customer.domain}/edit/${root.id}/${node.id}"><i class="icon-edit"></i> Edit...</a></li>
            <li><a href="#">Privilege</a></li>
            <li><a href="#">Sort...</a></li>
            <li class="divider"></li>
            <li><a href="javascript:$('#deleteAlertModal').modal({backdrop:'static'});"><i class="icon-trash"></i> Delete</a></li>
        </ul>
    </div>
</div>
<div id="doc-title">
    <h3>${node.title|h}</h3>
</div>
<div id="doc-content">
    ${node.content}
</div>
<div>
    <hr />
    <div>最后更新：${strftime(node.modified_time)}</div>
    <div>版本：${node.version}</div>
</div>
